<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../assets/font/iconfont.css">
    <style>
        /* icon-flexible{
            font-family: "iconfont";
            font-size: 16px;
            display: block;
        } */
        icon-flexible::before{
            content: "\e6d4";
        }
        icon-messages:before {
            content: "\e614";
        }
        icon-paihang:before {
            content: "\e8e6";
        }
    </style>
    <script src="../assets/js/vue.js"></script>
</head>
<body>
    <div class="iconfont icon-flexible"></div>
    <!-- 
        有些公司对前端页面的标签构成有严格的构建要求
        + 自定义的字库文件必须在页面中通过自定义标签方式进行显示
    -->
    <icon-flexible class="iconfont"></icon-flexible>
    <hr>
    <div id="app">
        <p>忽略自定义标签</p>
        <div class="iconfont icon-flexible"></div>
        <icon-flexible class="iconfont"></icon-flexible>
        <icon-messages class="iconfont"></icon-messages>
        <icon-paihang class="iconfont"></icon-paihang>
    </div>

    <script>
        Vue.config.ignoredElements = [
            // "icon-flexible",
            // "icon-messages"
            /^icon-/
        ]

        new Vue({
            el:"#app"
            
        })
    </script>
</body>
</html>